| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | module.exports = function (gulp, plugins, config, env) { |
||
| 2 | return function sass() { |
||
| 3 | return gulp.src('scss/*.scss') |
||
| 4 | .pipe(env.development(plugins.sourcemaps.init())) |
||
| 5 | .pipe(plugins.sass({ |
||
| 6 | outputStyle: 'compressed', |
||
| 7 | sourceMap: false |
||
| 8 | })) |
||
| 9 | .pipe(plugins.autoprefixer({ |
||
| 10 | browsers: config.autoprefixer |
||
| 11 | })) |
||
| 12 | .pipe(env.development(plugins.sourcemaps.write('.', { addComment: true }))) |
||
| 13 | .pipe(gulp.dest(config.build)); |
||
| 14 | }; |
||
| 15 | }; |
||
| 16 |